package com.semlab.server.domain;

import java.util.ArrayList;
import java.util.List;

public class Movie extends BaseConcept{
	
	private String title;
	private int hits;
	private String imdbUri;
	private String description;
	private String imageUrl;
	private Double rating;
    private String runtime;
    private String wikiAbstract;
//    private List<Actor> actors;
    private List<Resource> resources;
    private Boolean enriched;
    private String genre;
    private String plot;
    private String budget;

    public Movie() {
	}

    public String getPlot() {
        return plot;
    }

    public String getUri() {
		return uri;
	}

	public void setUri(String uri) {
		this.uri = uri;
	}

	public int getHits() {
		return hits;
	}

	public void addHit() {
		this.hits++;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getImdbUri() {
		return imdbUri;
	}

	public void setImdbUri(String imdbUri) {
		this.imdbUri = imdbUri;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public void setHits(int hits) {
		this.hits = hits;
	}
	
	public String getImageUrl() {
		return imageUrl;
	}

	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}
	
	public Double getRating() {
		return rating;
	}

	public void setRating(Double rating) {
		this.rating = rating;
	}

    public String getRuntime() {
        return runtime;
    }

    public void setRuntime(String runtime) {
        this.runtime = runtime;
    }

    public String getWikiAbstract() {
        return wikiAbstract;
    }

    public void setWikiAbstract(String wikiAbstract) {
        this.wikiAbstract = wikiAbstract;
    }

    public Boolean isEnriched() {
        return enriched;
    }

    public void setEnriched(Boolean enriched) {
        this.enriched = enriched;
    }

    public List<Resource> getResources() {
        return resources;
    }

    public void setResources(List<Resource> resources) {
        this.resources = resources;
    }

    public String getGenre() {
        return genre;
    }

    public String getBudget() {
        return budget;
    }

    public void setBudget(String budget) {
        this.budget = budget;
    }

    @Override
    public String toString() {
        return "Movie{" +
                "title='" + title + '\'' +
                ", hits=" + hits +
                ", imdbUri='" + imdbUri + '\'' +
                ", description='" + description + '\'' +
                ", rating=" + rating +
                ", runtime=" + runtime +
                ", wikiAbstract='" + wikiAbstract + '\'' +
                ", res=" + resources +
                ", enriched=" + enriched +
                "} " + super.toString();
    }

    public void setGenre(String genre) {
        this.genre = genre;
    }

    public void setPlot(String plot) {
        this.plot = plot;
    }
}
